package com.ego.product.vo;

import com.ego.common.vo.BaseSearchVo;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.DecimalMin;
import java.math.BigDecimal;

/**
 * @program: ego
 * @description: Sku信息搜索VO
 * @author: KamTang
 * @create: 2022-11-23 09:56
 **/
@Setter
@Getter
public class SkuInfoSearchVo extends BaseSearchVo {
    /**
     * 分类ID
     */
    private Long categoryId;
    /**
     * 品牌ID
     */
    private Long brandId;
    /**
     * 最低价
     */
    @DecimalMin(value = "0")
    private BigDecimal minPrice;
    /**
     * 最高价
     */
    @DecimalMin(value = "0")
    private BigDecimal maxPrice;
}
